export default {
    namespaced: true,
    state:{
        sales : [],//列表
        salesDetail : [],//详情
    },
    mutations:{
    	//列表
        updateSalesData(state,data){
            state.sales = data;
        },
    	//详情
        updateSalesDetailData(state,data){
            state.salesDetail = data;
        },
        
        
    	//清除销售录入信息
        clearSalesData(state,data){
            state.sales = [];
            state.salesDetail = [];
        },
    }
}